package com.link.base.base.user.dao.mybatis.mapper;

import com.link.base.base.user.model.User;
import com.link.base.base.position.model.Position;
import com.link.base.base.user.model.UserExperience;
import com.link.core.basic.dao.mapper.BasicMapper;

/**
 * 快速体验
 * 
 * @author ouyangzhenqiang
 * @date 2018/12/27
 */
public interface UserExperienceMapper extends BasicMapper<UserExperience> {

    /**
     * 根据手机号查询记录
     *
     * @author ouyangzhenqiang
     * @date 2018/12/28
     */
    UserExperience queryByMobilePhone(UserExperience record) throws Exception;

    /**
     * 根据职位Id获取职位信息
     *
     * @author ouyangzhenqiang
     * @date 2018/12/28
     */
    Position queryPostnByPostnId(UserExperience record) throws Exception;

    /**
     * 新建体验职位
     *
     * @author ouyangzhenqiang
     * @date 2018/12/28
     */
    void experiencePositionInsertByInterface(Position record) throws Exception;
    
    /**
     * 新建体验用户
     * 
     * @author ouyangzhenqiang
     * @date 2018/12/28
     */
    void experienceUserInsertByInterface(User record) throws Exception;

    /**
     * 新增记录
     *
     * @author ouyangzhenqiang
     * @date 2018/12/28
     * @param record
     */
    void experienceInsertByInterface(UserExperience record) throws Exception;
}
